package samsung.sds.systemDictManagement.model;
/**
 * @author tingcai.liu
 * @createDate 2016-02-03
 * 
 * 数据字典的 Entity
 */
public class SystemDictEntity {
	private String groupId;
	
	private String oldGroupId;
	
	private String oldOptionKey;
	
	private String optionKey;
	
	private String optionVal;
	
	private String optionOrder;
	
	private String optionDesc;
	
	private String createTime;
	
	private String createUser;
	
	private String lastModifyTime;
	
	private String lastModifyUser;

	public String getGroupId() {
		return groupId;
	}

	public void setGroupId(String groupId) {
		this.groupId = groupId;
	}

	
	public String getOldGroupId() {
		return oldGroupId;
	}

	public void setOldGroupId(String oldGroupId) {
		this.oldGroupId = oldGroupId;
	}

	public String getOptionKey() {
		return optionKey;
	}

	public void setOptionKey(String optionKey) {
		this.optionKey = optionKey;
	}

	public String getOptionVal() {
		return optionVal;
	}

	public void setOptionVal(String optionVal) {
		this.optionVal = optionVal;
	}

	public String getOptionOrder() {
		return optionOrder;
	}

	public void setOptionOrder(String optionOrder) {
		this.optionOrder = optionOrder;
	}

	public String getOptionDesc() {
		return optionDesc;
	}

	public void setOptionDesc(String optionDesc) {
		this.optionDesc = optionDesc;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public String getCreateUser() {
		return createUser;
	}

	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}

	public String getLastModifyTime() {
		if(lastModifyTime == null || "".equals(lastModifyTime)) {
			return createTime;
		}
		return lastModifyTime;
	}

	public void setLastModifyTime(String lastModifyTime) {
		this.lastModifyTime = lastModifyTime;
	}

	public String getLastModifyUser() {
		if(lastModifyUser == null || "".equals(lastModifyUser)) {
			return createUser;
		}
		return lastModifyUser;
	}

	public void setLastModifyUser(String lastModifyUser) {
		this.lastModifyUser = lastModifyUser;
	}

	public String getOldOptionKey() {
		return oldOptionKey;
	}

	public void setOldOptionKey(String oldOptionKey) {
		this.oldOptionKey = oldOptionKey;
	}
}
